package com.bookManagerment.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {

    @RequestMapping("/")
    public String login(){
        return "forward:/pages/login.html";
    }

    @RequestMapping("/index")
    public String index(){
        return "forward:/pages/login.html";
    }

}